export default class Const {
    public static EPSGType = {
        EPSG84: '4326',
        EPSGWeb: '3857',
        BD09: 'bd09',
        GCJ02: 'gcj02'
    };
    public static Number = {
        //DIAMETER: 1073741824.0,
        MERCATORANGE: 20037508.34,
        radii: 536870912.0,
    }

    public static tileType = { //图层的类型
        imageType: 'image', //影像图层
        demType: 'dem', //dem图层
        wmsType: 'wms',//wms图层
        shapeType: 'shape', //shape图层
    }

    public static RenderOrder = {
        Sky: -99,
        Map: -100,
        MapCarpet: -104,
        BackGroundCylinderMesh: -102,
        BackGroundGradient: -103,

        // MapCarpet: -102,
        // BackGroundCylinderMesh: -103,
        // BackGroundGradient: -104,

        DigArea: -105,
        ShapePolygon: -50,
        ShapeLine: -49,
        ShapeBuildings: -48,
        ShapePoi: -47,

        RouteLine: 0,
    };

    public static MapConst = {
        mapCanvasID: 'giswayMapCanvas',
        tileWidth: 40075017,
        meshBox: 'meshBox',
    };

    public static StencilRefValue = {
        EditCricleRef: 1,
        BaseTileRef: 2,
        DemTileRef: 2,
        HolePOlygonRef: 3,
        LineWidthRef: 4,
    };

    public static FlightRoute = {
        dangerWaypoint: 'dangerWaypoint',
        changeWayPoint: 'changeWayPoint',
        throughWall: 'throughWall',
        sideWipe: 'sideWipe',
        crossRange: 'crossRange',

        routeMeshTag: 'flightRouteTag', //航线tag
        flightPointTag: 'flightPointTag', //航点tag
    };

    // public static pickOrder: 'pickOrder';

    public static PickIndex = {
        defaultIndex: 1,
        flightPointIndex: 2,
    }
}